import { apiResquest } from '@/utils/request.js'
// 获取用户个人信息
export const courseInfo = (query) => {
	return apiResquest({
		url: `/api/course/${query}`,
		method: 'get',
	})
}
export const followCoarsh = (query) => {
	return apiResquest({
		url: `/api/user/follow/${query}`,
		method: 'PUT',
	})
}